package com.aiks.dsyncpluginspringbootautoconfigure.plugin;


import com.aiks.dsyncpluginspringbootautoconfigure.BusinessException;
import com.aiks.dsyncpluginspringbootautoconfigure.enums.PluginEnum;

/**
 * Plugin.
 *
 * @author <a href="mailto:yuanz@yxt.com">yuanz</a>
 * @date 2022-06-27 17:17
 * @since 1.0.0
 **/
public interface Plugin {
    
    /**
     * getPluginEnum.
     *
     * @return String
     */
    default PluginEnum getPluginEnum() {
        throw new BusinessException("not suport PluginEnum!");
    }
    
}
